package com.hzy.dao;

import com.hzy.pojo.Contact;
import com.hzy.pojo.ContactExample;

import java.util.List;

import org.apache.ibatis.annotations.Param;


public interface ContactMapper {
    long countByExample(ContactExample example);

    int deleteByExample(ContactExample example);

    int insert(Contact record);

    int insertSelective(Contact record);

    List<Contact> selectByExample(ContactExample example);

    Contact selectContactById(@Param("id") Integer id);

    int updateByExampleSelective(@Param("record") Contact record, @Param("example") ContactExample example);

    int updateByExample(@Param("record") Contact record, @Param("example") ContactExample example);
}